<template>
	<view class="card"> 
		<view>一</view>
		<slot>
			<view class="card-name">{{carName}}</view>
		</slot>
		<view>一</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		props:{
			carName:String
		},
		methods: {
			
		}
	}
</script>

<style>
.card{
	padding: 20rpx 0;
	display: flex;
	justify-content: center;
	font-weight: bold;
}
.card-name{
	padding: 0 20rpx;
	font-size: 32rpx;
}
</style>
